<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
		<meta charset="utf-8" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="searchForm" class="form-search"
						action="jobStudent/guide_student_page_list.do" method="post">
						<input type="hidden" name="pageNumber" value="1" />
						<input type="hidden" name="ZGH" value="${ teacherInfo.ZGH}" />
						</form>
 <div id="tittle">
    	校内指导老师：<span>${teacherInfo.XM }</span>
    </div>
    <table class="tablelist tablelist_margin">
    	<thead>
    	<tr>
    	<th>学生姓名</th>
        <th>联系电话</th>
        <th >实习状态</th>
		<th>企业名称</th>
		 <th >实习岗位</th>
		<th>企业指导老师</th>
		<th>实习时间</th>
      </tr>
        </thead>
        <tbody>
           <c:forEach items="${guideStudentList}" var="guideStudent"  varStatus="status">    
             <tr>
       <td>${guideStudent.XM }</td>
		 <td>${guideStudent.LXDH }</td>
		  <td><c:if test="${guideStudent.status==0}">在校</c:if>
			<c:if test="${guideStudent.status==1}">自主创业</c:if>
			<c:if test="${guideStudent.status==2}">专升本</c:if>
			<c:if test="${jobStudent.status==3}">自寻企业实习</c:if>
			<c:if test="${guideStudent.status==4}">学校分配企业</c:if> </td>
		   <td>${guideStudent.enterpriseName}</td>
		    <td>${guideStudent.jobName }</td>
		    <td>${guideStudent.enterTeacherName}</td>
		    <td> ${guideStudent.startTime}至${guideStudent.endTime}</td>
		</tr>
      </c:forEach>
        </tbody>
    </table>
     <div class="pagin">
    	<%@ include file="page.jsp"%>
    </div>
    <script src="js/jquery-1.7.2.js"></script>
     <script src="layer/layer.js"></script>
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	function GoToPage(toPage,totalPage) {
	    if(toPage<=0) return;
	    if(toPage>totalPage) return;
	    $("input[name='pageNumber']").val(toPage);
	    $("#searchForm").submit();
	};
	</script>
</body>
</html>
